package com.yztc.yidoutang.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by My on 2016/10/20.
 */

public class DanPinBean {

    /**
     * count : {"thread":"0","guide":"201","case":"480","pic":"16439","shareing":"24556"}
     * sharings : [{"sharing_id":"41699","created":1419319111,"user_id":"15641","cat":"餐厅","tags":"置物架,美式","styles":"美式","title":"Harbor House Harbor 立柜 书柜 美式家具 实木 浓咖啡色 101814","price":"2800","special_price":"2800","color":"咖啡","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201412/8c/201412231518c18c.jpg!s300","taobao_cid":50001407,"shop_level":0,"is_like":false},{"sharing_id":"31363","created":1375083605,"user_id":"5832","cat":"餐厅","tags":"置物架,美式","styles":"","title":"Harbor House 美式家具 Harbor 立柜 实木立柜 101814","price":"2800","special_price":"2800","color":"咖啡","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201307/03/201307291540c903.jpeg!s300","taobao_cid":50001407,"shop_level":0,"is_like":false},{"sharing_id":"25851","created":1365235225,"user_id":"1915","cat":"客厅","tags":"美式乡村装饰画","styles":"","title":"【诗享家】美式乡村玄关莫里斯生命幸福树 宜家卧室装饰画 壁挂","price":"780","special_price":"780","color":"蓝","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201304/7d/201304061600f87d.jpg!s300","taobao_cid":50021907,"shop_level":0,"is_like":false},{"sharing_id":"28658","created":1369927996,"user_id":"1751","cat":"书房","tags":"美式乡村台灯","styles":"","title":"出口 台灯 欧式 现代美式 简欧 简约田园 美克美家风 床头灯","price":"158","special_price":"158","color":"红","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201305/64/2013053023338964.jpg!s300","taobao_cid":50020104,"shop_level":0,"is_like":false},{"sharing_id":"31557","created":1375346672,"user_id":"5906","cat":"卧室","tags":"美式,窗帘,乡村","styles":"","title":"【豆绿底色】宜家成品窗帘包邮田园美式欧式风格卧室客厅特价028","price":"120","special_price":"120","color":"绿","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201308/33/201308011644a433.jpeg!s300","taobao_cid":50020676,"shop_level":0,"is_like":false},{"sharing_id":"24281","created":1363529542,"user_id":"1745","cat":"客厅","tags":"美式乡村沙发","styles":"","title":"杰鑫 美式沙发 美式乡村风格 布艺沙发 绿色系 1+3+老虎椅+方凳","price":"850","special_price":"0","color":"绿","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201303/b3/20130317221252b3.jpg!s300","taobao_cid":50020632,"shop_level":0,"is_like":false},{"sharing_id":"26160","created":1365686271,"user_id":"1919","cat":"餐厅","tags":"美式乡村壁灯","styles":"","title":"美式乡村壁灯欧式铁艺床头灯酒吧壁灯复古卧室灯玻璃仿古壁灯","price":"109","special_price":"109","color":"白","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201304/98/2013041121176e98.jpg!s300","taobao_cid":50019938,"shop_level":0,"is_like":false},{"sharing_id":"25857","created":1365235357,"user_id":"3141","cat":"客厅","tags":"美式乡村挂钟","styles":"","title":"欧式简约客厅静音挂钟  美式乡村 地中海时尚创意钟表 可立特","price":"298","special_price":"0","color":"白","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201304/3a/2013040616022e3a.jpg!s300","taobao_cid":0,"shop_level":0,"is_like":false},{"sharing_id":"23972","created":1363106613,"user_id":"1789","cat":"客厅","tags":"美式乡村吊灯","styles":"","title":"【沃嘉】简约美式乡村古典麻布复古字母灯欧式客厅吊灯饰铁艺灯具","price":"870","special_price":"0","color":"白","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201303/86/2013031300439786.jpg!s300","taobao_cid":50020103,"shop_level":0,"is_like":false},{"sharing_id":"24401","created":1363758551,"user_id":"1778","cat":"客厅","tags":"美式乡村吊灯","styles":"","title":"【美然】促销客厅卧室铁艺吊灯美式乡村仿古欧式灯古典灯仿古田园","price":"859","special_price":"0","color":"黄","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201303/3b/201303201349563b.jpg!s300","taobao_cid":50020103,"shop_level":0,"is_like":false},{"sharing_id":"25845","created":1365235100,"user_id":"1741","cat":"卧室","tags":"美式乡村摆件","styles":"","title":"美克美家风格 复古彩绘小熊摇马摆件 欧美式乡村家居装饰品工艺品","price":"338","special_price":"0","color":"白","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201304/bc/201304061558a2bc.jpg!s300","taobao_cid":0,"shop_level":0,"is_like":false},{"sharing_id":"26198","created":1365772923,"user_id":"52","cat":"客厅","tags":"美式乡村柜子","styles":"","title":"实木床头柜/美式床头柜欧式床头柜美克美家比邻乡村实木家具定做","price":"1180","special_price":"1180","color":"咖啡","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201304/13/201304122122e613.jpg!s300","taobao_cid":50001382,"shop_level":0,"is_like":false},{"sharing_id":"24907","created":1364353912,"user_id":"1855","cat":"餐厅","tags":"美式乡村餐桌","styles":"","title":"美式乡村 地中海 欧式田园实木餐桌椅组合细节多图313","price":"1200.1","special_price":"1200.1","color":"白","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201303/00/2013032711118b00.jpg!s300","taobao_cid":50001403,"shop_level":0,"is_like":false},{"sharing_id":"25850","created":1365235207,"user_id":"999","cat":"卧室","tags":"美式乡村摆件","styles":"","title":"【诗享家】木马摆件 儿童房装饰 橱窗陈列道具 美式乡村家居","price":"180","special_price":"0","color":"咖啡","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201304/79/2013040616001f79.jpg!s300","taobao_cid":0,"shop_level":0,"is_like":false},{"sharing_id":"24117","created":1363327260,"user_id":"1003","cat":"客厅","tags":"美式乡村吊灯","styles":"","title":"朵艺简欧三头吊灯 新古典美式乡村灯饰 餐厅卧室首选灯具 6005-3","price":"268","special_price":"268","color":"白","normal_image":"http://img.yidoutang.com/upload/sharing/normal/201303/d9/20130315140130d9.jpg!s300","taobao_cid":50020103,"shop_level":0,"is_like":false}]
     * pagination : {"record_count":24556,"page_count":1638,"first":1,"last":1638,"next":2,"prev":1,"current":1,"page_size":15,"page_base":1}
     */

    @SerializedName("data")
    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * thread : 0
         * guide : 201
         * case : 480
         * pic : 16439
         * shareing : 24556
         */

        @SerializedName("count")
        private CountBean count;
        /**
         * record_count : 24556
         * page_count : 1638
         * first : 1
         * last : 1638
         * next : 2
         * prev : 1
         * current : 1
         * page_size : 15
         * page_base : 1
         */

        @SerializedName("pagination")
        private PaginationBean pagination;
        /**
         * sharing_id : 41699
         * created : 1419319111
         * user_id : 15641
         * cat : 餐厅
         * tags : 置物架,美式
         * styles : 美式
         * title : Harbor House Harbor 立柜 书柜 美式家具 实木 浓咖啡色 101814
         * price : 2800
         * special_price : 2800
         * color : 咖啡
         * normal_image : http://img.yidoutang.com/upload/sharing/normal/201412/8c/201412231518c18c.jpg!s300
         * taobao_cid : 50001407
         * shop_level : 0
         * is_like : false
         */

        @SerializedName("sharings")
        private List<SharingsBean> sharings;

        public CountBean getCount() {
            return count;
        }

        public void setCount(CountBean count) {
            this.count = count;
        }

        public PaginationBean getPagination() {
            return pagination;
        }

        public void setPagination(PaginationBean pagination) {
            this.pagination = pagination;
        }

        public List<SharingsBean> getSharings() {
            return sharings;
        }

        public void setSharings(List<SharingsBean> sharings) {
            this.sharings = sharings;
        }

        public static class CountBean {
            @SerializedName("thread")
            private String thread;
            @SerializedName("guide")
            private String guide;
            @SerializedName("case")
            private String caseX;
            @SerializedName("pic")
            private String pic;
            @SerializedName("shareing")
            private String shareing;

            public String getThread() {
                return thread;
            }

            public void setThread(String thread) {
                this.thread = thread;
            }

            public String getGuide() {
                return guide;
            }

            public void setGuide(String guide) {
                this.guide = guide;
            }

            public String getCaseX() {
                return caseX;
            }

            public void setCaseX(String caseX) {
                this.caseX = caseX;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getShareing() {
                return shareing;
            }

            public void setShareing(String shareing) {
                this.shareing = shareing;
            }
        }

        public static class PaginationBean {
            @SerializedName("record_count")
            private int recordCount;
            @SerializedName("page_count")
            private int pageCount;
            @SerializedName("first")
            private int first;
            @SerializedName("last")
            private int last;
            @SerializedName("next")
            private int next;
            @SerializedName("prev")
            private int prev;
            @SerializedName("current")
            private int current;
            @SerializedName("page_size")
            private int pageSize;
            @SerializedName("page_base")
            private int pageBase;

            public int getRecordCount() {
                return recordCount;
            }

            public void setRecordCount(int recordCount) {
                this.recordCount = recordCount;
            }

            public int getPageCount() {
                return pageCount;
            }

            public void setPageCount(int pageCount) {
                this.pageCount = pageCount;
            }

            public int getFirst() {
                return first;
            }

            public void setFirst(int first) {
                this.first = first;
            }

            public int getLast() {
                return last;
            }

            public void setLast(int last) {
                this.last = last;
            }

            public int getNext() {
                return next;
            }

            public void setNext(int next) {
                this.next = next;
            }

            public int getPrev() {
                return prev;
            }

            public void setPrev(int prev) {
                this.prev = prev;
            }

            public int getCurrent() {
                return current;
            }

            public void setCurrent(int current) {
                this.current = current;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getPageBase() {
                return pageBase;
            }

            public void setPageBase(int pageBase) {
                this.pageBase = pageBase;
            }
        }
    }
}
